#!/usr/bin/node
var abc = {
    name:"tom"
}

var obj = {
    name: "terry",
    age:"20",
    gender:'male',
    test: abc,
    sayname(){
        console.log('方法')
    }
};


console.log(obj.name)
console.log(obj['age'])
delete obj.test
console.log(obj['test']['name'])
console.log(abc.name)